/*
 * Copyright 2012 Igor Benicio de Mesquita
 * benizzio@gmail.com
 * 
 * This file is part of fleaNJECT.
 * 
 * fleaNJECT is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as 
 * published by the Free Software Foundation, either version 3 of the 
 * License, or (at your option) any later version.
 * 
 * fleaNJECT is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License
 * along with fleaNJECT.  If not, see <http://www.gnu.org/licenses/>.
 */

package fleanject.di.exception;


public class DIConfigurationException extends DIException {

	private static final long serialVersionUID = -5065464359714306407L;

	public DIConfigurationException() {}

	public DIConfigurationException(String message) {
		super("Bad configuration: " + message);
	}
	
	public DIConfigurationException(String message, String className) {
		super("Bad configuration (" + className + "): " + message);
	}
	
	public DIConfigurationException(String message, String className, String methodName) {
		super("Bad configuration (" + className +  " - " + methodName + "): " + message);
	}

	public DIConfigurationException(Throwable cause) {
		super(cause);
	}

	public DIConfigurationException(String message, Throwable cause) {
		super("Bad configuration: " + message, cause);
	}
	
	public DIConfigurationException(String message, String className, Throwable cause) {
		super("Bad configuration (" + className + "): " + message, cause);
	}
	
	public DIConfigurationException(String message, String className, Throwable cause, String methodName) {
		super("Bad configuration (" + className +  " - " + methodName + "): " + message, cause);
	}
}